package com.two.shopping.service;


import com.two.shopping.pojo.Commodity;
import com.two.shopping.pojo.PageBean;

import java.util.List;

public interface IAdminService {
    PageBean allList(Integer page, Integer pageSize);

    void delete(Integer id);

    void deletes(List<Integer> id);

    void update(Commodity commodity);

    PageBean pagelike(Integer page, Integer pageSize,String name,Integer state,Integer commodityTypeId);
void add(Commodity commodity);
}
